package com;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.cloud.netflix.eureka.EnableEurekaClient;import org.springframework.context.annotation.Bean;import org.springframework.data.mongodb.core.mapping.event.LoggingEventListener;/** * Description: * Company:HK * author: Sam * date:  2016/11/15 17:13 */@EnableEurekaClient@SpringBootApplicationpublic class Application {    public static void main(String[] args) {        SpringApplication.run(Application.class, args);    }    @Bean    public LoggingEventListener mongoEventListener() {        return new LoggingEventListener();    }}